#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@Time    : 2025/4/10 21:10
@Author  : zzj
@File    : app.py
"""
import dotenv
from injector import Injector

from config import Config
from internal.router import Router
from internal.server import Http

# 加载本地的 .env 文件
dotenv.load_dotenv()
injector = Injector()
# Flask 配置信息
conf = Config()
app = Http(__name__, conf=conf, router=injector.get(Router))

if __name__ == "__main__":
    app.run(debug=True)
